package com.rem.hutool.my4IO;

import cn.hutool.core.io.file.FileWriter;

/**
 * 文件写入
 *
 * @author Rem
 * @date 2020-08-20
 */

public class FileWriterDemo {
    public static void main(String[] args) {
        FileWriter writer = new FileWriter("../../src/main/resources/static/name4.txt");
        //  writer.write("test aaa");
        writer.write("test bbb", true);  // =writer.append("test bbb");
    }
}
